package com.ctshk.rpc.scenic.req;

import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 门票抽奖用户报名信息表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-18
 */
@Data
@ApiModel(value = "TicketLuckDrawApplyUserInfo对象", description = "门票抽奖用户报名信息表")
public class TicketLuckDrawApplyUserInfoReq extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "中文名称")
    private String cnName;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    @ApiModelProperty(value = "身份证号")
    private String idNumber;

    @ApiModelProperty(value = "出生日期")
    private LocalDate birthday;

    @ApiModelProperty(value = "联络电话")
    private String phone;

    @ApiModelProperty(value = "电子邮箱")
    private String mail;

    @ApiModelProperty(value = "通讯地址")
    private String address;

    @ApiModelProperty(value = "信用卡卡号")
    private String cardNumber;

    @ApiModelProperty(value = "持卡人姓名")
    private String cardName;

    @ApiModelProperty(value = "有效日期")
    private LocalDate effectiveDate;

    @ApiModelProperty(value = "是否有意向加购产品( 0：否 1:是)")
    private Integer additionalPurchaseType;

    @ApiModelProperty(value = "是否同意")
    private Integer agree;

    @ApiModelProperty(value = "是否观看")
    private Integer watchType;

    @ApiModelProperty(value = "性别(1：先生 2：女士)")
    private Integer gender;

    @ApiModelProperty(value = "查询编号")
    private String queryNumber;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @NotEmpty(message = "场次不能为空")
    @ApiModelProperty(value = "场次集合")
    private List<TicketTypeLuckDrawReq> tickets;


}
